package map_set;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.TreeMap;
/**
 * Map接口的常用方法
 * @author zerorain
 * @date 2022/03/18 13:44
 **/
public class MapTest {
        public static void main(String[] args) {
            Object obj = new Object() {
                @Override
                public boolean equals(Object obj) {
                    return true;
                }
            };
            System.out.println(obj.equals("hehe"));
            System.out.println(obj.equals(123));
        }
    }